import { get, post } from "../utils/request";

export function selectDict(params) {
  return post("/mini/v1/sysDict/pageSysDict", params);
}

export function selectDictById(id) {
  return get(`/mini/v1/sysDict/select/${id}`);
}

export function selectDictByParentId(parentId) {
  return get(`/mini/v1/sysDict/selectSysDictByParentId/${parentId}`);
}

export function sysDictTree(parentId) {
  return get(`/mini/v1/sysDict/selectDicts`);
}

export function loginInfo(parentId) {
  return get(`/mini/v1/login/loginInfo`);
}














